package com.eurasia.assignment.controller.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonPropertyOrder({"id", "fileName", "fileUrl", "fileType", "size"})
public class FileUploadResponse {
    @JsonProperty("id")
    private String ID;
    private String fileName;
    private String fileUrl;
    private String fileType;
    private long size;
    
    public FileUploadResponse(String fileName, String fileUrl, String fileType, long size) {
        this.fileName = fileName;
        this.fileUrl = fileUrl;
        this.fileType = fileType;
        this.size = size;
    }
} 